package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.Users;
import com.xxgc.ssm.po.UsersExample;
import com.xxgc.ssm.po.Users;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @lin yuan hui
 * @date 2021/12/14/10:58
 */
public interface UsersMapper {
    long countByExample(UsersExample example);

    int deleteByExample(UsersExample example);

    int deleteByPrimaryKey(@Param("uId") Long uId, @Param("uCreateTime") Date uCreateTime);

    int insert(Users record);

    int insertSelective(Users record);

    List<Users> selectByExample(UsersExample example);

    Users selectByPrimaryKey(@Param("uId") Long uId, @Param("uCreateTime") Date uCreateTime);

    int updateByExampleSelective(@Param("record") Users record, @Param("example") UsersExample example);

    int updateByExample(@Param("record") Users record, @Param("example") UsersExample example);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);
}